container: Slightly reword some docs
authorMatthias Clasen <mclasen@redhat.com>
Mon, 9 Nov 2015 12:40:44 +0000 (07:40 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 9 Nov 2015 12:40:44 +0000 (07:40 -0500)
Clarify gtk_container_remove documentation regarding reference
holding. Suggested in

https://bugzilla.gnome.org/show_bug.cgi?id=757607

gtk/gtkcontainer.c

index 3cc20ebdbda23ae739fe6d98b576dcf6d605c62d..30a6d1ef79be87d96f0b07503577401a9561e5fd 100644 (file)
@@ -1869,7 +1869,7 @@ gtk_container_add (GtkContainer *container,
  * Note that @container will own a reference to @widget, and that this
  * may be the last reference held; so removing a widget from its
  * container can destroy that widget. If you want to use @widget
- * again, you need to add a reference to it while it’s not inside
+ * again, you need to add a reference to it before removing it from
  * a container, using g_object_ref(). If you don’t want to use @widget
  * again it’s usually more efficient to simply destroy it directly
  * using gtk_widget_destroy() since this will remove it from the